/*
    板子硬件情况定义，统一提供给APP或者其他驱动的名称
    GPIO的相关设置、模式切换建议定义在这里
*/
#ifndef _BOARD_H_
#define _BOARD_H_

#define BSP_MCU_MODEL       POLSYS_MCU_KEIL_SIM_M0P

#define BSP_TICK_CYCLE      1

#include "mcu\ARM\typedef.h"

extern bool VirtualLed;

#define LED             VirtualLed    
#define Led_On()		{LED = true;printf("Led ON!\r\n");}
#define Led_Off()		{LED = false;printf("Led Off!\r\n");}
#define Led_Init()		

#define Board_GetTickCycleValue()   SYSTICK_VALUE
#define Board_GetTickNowValue()     (u32)(SYSTICK_VALUE - SysTick->VAL)


#endif

